|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DbOrder>
pow.webserver.DbOrder
public enum DbOrder
represents 4 kind of message stored in database CONNECT first connection of an ivy bus --> inform db DECONNECT ivy bus deconnected --> inform db ADD add message to db
| Enum Constant Summary | |
|---|---|
ADD_DATA
just store the data in the log table |
|
ADD_ORDER
the message is an order coming from a web user |
|
CONNECT
store the message and create a record in the 'connexion' table |
|
DECONNECT
store the message and complete the end field in the 'connexion' table |
|
| Method Summary | |
|---|---|
static DbOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DbOrder[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DbOrder CONNECT
public static final DbOrder DECONNECT
public static final DbOrder ADD_DATA
public static final DbOrder ADD_ORDER
| Method Detail |
|---|
public static DbOrder[] values()
for (DbOrder c : DbOrder.values()) System.out.println(c);
public static DbOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||